Become a Patreon and get source code access: https://www.patreon.com/nickchapsas Check out my courses: https://nickchapsas.com Hello everybody I'm Nick and in this video I wanna talk real world mistakes that you might encounter regarding await async. It's an interesting topic that many people tend to get wrong and this comes down to how Microsoft handled the original rollout of the feature. In this video I will go through 8 real world scenarios of how it can be done wrong and talk about how we can fix them. Timestamps: 0:00 - Intoduction 1:19 - Once async always async 2:46 - Async void is BAD 6:05 - Prefer Task.FromResult over Task.Run 8:00 - Avoid .Result and .Wait 9:37 - Prefer await over ContinueWith 11:19 - Always pass the CancellationToken 15:16 - Prefer async Task over Task 17:11 - Don't sync over async in constructors Raw coding video: https://www.youtube.com/watch?v=il9gl8MH17s David Fowler's page: https://github.com/davidfowl/AspNetCoreDiagnosticScenarios/blob/master/AsyncGuidance.md ValueTask: https://devblogs.microsoft.com/dotnet/understanding-the-whys-whats-and-whens-of-valuetask/ Don't forget to comment, like and subscribe :) Social Media: Follow me on GitHub: http://bit.ly/ChapsasGitHub Follow me on Twitter: http://bit.ly/ChapsasTwitter Connect on LinkedIn: http://bit.ly/ChapsasLinkedIn #dotnet #await #async